Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Jul 19, 2025

Updates the GitHub Actions workflows to use .NET 9.0.x instead of the outdated .NET Core 3.1.301, ensuring compatibility with the project's current .NET 9 target framework.

Changes Made

  • Updated dotnet-version from 3.1.301 to 9.0.x in .github/workflows/build-and-test.yml
  • Updated dotnet-version from 3.1.301 to 9.0.x in .github/workflows/publish-packages.yml

Context

The project files already target .NET 9 (net9.0):

  • src/Html2md/Html2md.csproj
  • src/Html2md.Core/Html2md.Core.csproj
  • test/Html2md.Tests.Unit/Html2md.Tests.Unit.csproj

However, the GitHub Actions workflows were still configured to use .NET Core 3.1.301, causing a mismatch that would prevent the CI/CD pipeline from building and testing the project correctly.

Verification

  • Both workflow files maintain valid YAML syntax
  • Changes are minimal and surgical (only 2 lines changed across 2 files)
  • The 9.0.x version specifier ensures the latest .NET 9 patch version is used

This pull request was created as a result of the following prompt from Copilot chat.

Update the GitHub Actions workflow in .github/workflows/build-and-test.yml to use .NET 9 instead of .NET Core 3.1.301. This includes changing the dotnet-version to 9.0.x to ensure the workflow sets up the correct .NET version for building and testing the project.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

…e 3.1.301

Co-authored-by: mikegoatly <4577868+mikegoatly@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Update workflow to use .NET 9 Update GitHub Actions workflows to use .NET 9 instead of .NET Core 3.1.301 Jul 19, 2025
@Copilot Copilot AI requested a review from mikegoatly July 19, 2025 09:16
Copilot finished work on behalf of mikegoatly July 19, 2025 09:16
@mikegoatly mikegoatly marked this pull request as ready for review July 19, 2025 09:51
@mikegoatly mikegoatly merged commit 9f8cd4b into master Jul 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants